package com.yxw.live_vod_facade.dto;



import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Data;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2024/1/23 16:40:16
*@update 2024/1/23 16:40:16
**/
@Data
@ApiModel(value = "LiveShopApplyAddressPunishQueryDTO" , description = "历史和处罚流QueryDTO")
//@EqualsAndHashCode(callSuper = true)
public class LiveShopApplyAddressPunishQueryDTO implements Serializable
{
    private static final long serialVersionUID = 31705999216697L;
    /**
    *店铺名称
    */
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    /**
    *商户名称
    */
    @ApiModelProperty(value = "商户名称")
    private String merchantName;    
    /**
    *主键id
    */
    @ApiModelProperty(value = "主键id")
    private String liveId;    
    /**
    *申请id
    */
    @ApiModelProperty(value = "申请id")
    private String applyId;
    /**
    *直播状态(0申请推流,1推流中,2推流中断,3店铺禁播,4直播结束,5直播异常)
    */
    @ApiModelProperty(value = "直播状态(0申请推流,1推流中,2推流中断,3店铺禁播,4直播结束,5直播异常)")
    private Integer liveState;    
    /**
    * 处罚类别:0罚款,1直播流,2直播间
    */
    @ApiModelProperty(value = " 处罚类别:0罚款,1直播流,2直播间")
    private Long punishType;
    /**
    *店铺Id内键
    */
    @ApiModelProperty(value = "店铺Id内键")
    private Long liveShopId;    

    /**
    *查询创建时间开始
    */
    @ApiModelProperty(value = "查询创建时间开始")
    private java.util.Date createTimeStart;
    /**
    *查询创建时间结束
    */
    @ApiModelProperty(value = "查询创建时间结束")
    private java.util.Date createTimeEnd;


    /**
    *处罚时间止
    
    @ApiModelProperty(value = "处罚时间止")
    private Long punishTimeEnd;*/
    /**
    *处罚时间始
    
    @ApiModelProperty(value = "处罚时间始")
    private Long punishTimeStart;*/

    /**
    *结束推流服务器端时间
   
    @ApiModelProperty(value = "结束推流服务器端时间")
    private Long pushEndServerTime; */
    /**
    *开始推流服务器端时间
   
    @ApiModelProperty(value = "开始推流服务器端时间")
    private Long pushStartServerTime; */



    @ApiModelProperty(value = "当前页", required = false)
    private Integer currentPage;

    @ApiModelProperty(value = "每页数据条数", required = false)
    private Integer pageSize;


    @Getter
    public Integer getCurrentPage() {
        return null == currentPage ? 1 : currentPage;
    }

    @Getter
    public Integer getPageSize() {
        return null == pageSize ? 10 : pageSize;
    }      
    /**
    *将DTO转换为ENTITY
    
    public LiveShopApplyAddressPunishEntity ConverToEntity()
    {
        LiveShopApplyAddressPunishEntity oLiveShopApplyAddressPunishEntity = new LiveShopApplyAddressPunishEntity ();
        oLiveShopApplyAddressPunishEntity.setAddedFansNumber(addedFansNumber);
        oLiveShopApplyAddressPunishEntity.setApplyId(applyId);
        oLiveShopApplyAddressPunishEntity.setAveragWatchDuration(averagWatchDuration);
        oLiveShopApplyAddressPunishEntity.setCommentNumber(commentNumber);
        oLiveShopApplyAddressPunishEntity.setCommentUserNumber(commentUserNumber);
        oLiveShopApplyAddressPunishEntity.setCreateUserId(createUserId);
        oLiveShopApplyAddressPunishEntity.setId(id);
        oLiveShopApplyAddressPunishEntity.setLikeNumber(likeNumber);
        oLiveShopApplyAddressPunishEntity.setLiveAppName(liveAppName);
        oLiveShopApplyAddressPunishEntity.setLiveAuthType(liveAuthType);
        oLiveShopApplyAddressPunishEntity.setLiveDescription(liveDescription);
        oLiveShopApplyAddressPunishEntity.setLiveEndTime(liveEndTime);
        oLiveShopApplyAddressPunishEntity.setLiveFees(liveFees);
        oLiveShopApplyAddressPunishEntity.setLiveFeesType(liveFeesType);
        oLiveShopApplyAddressPunishEntity.setLiveHomeName(liveHomeName);
        oLiveShopApplyAddressPunishEntity.setLiveHomePicture(liveHomePicture);
        oLiveShopApplyAddressPunishEntity.setLiveId(liveId);
        oLiveShopApplyAddressPunishEntity.setLiveOrderCount(liveOrderCount);
        oLiveShopApplyAddressPunishEntity.setLiveOrderTotalFee(liveOrderTotalFee);
        oLiveShopApplyAddressPunishEntity.setLivePicture(livePicture);
        oLiveShopApplyAddressPunishEntity.setLiveShopId(liveShopId);
        oLiveShopApplyAddressPunishEntity.setLiveStartTime(liveStartTime);
        oLiveShopApplyAddressPunishEntity.setLiveState(liveState);
        oLiveShopApplyAddressPunishEntity.setLiveStreamName(liveStreamName);
        oLiveShopApplyAddressPunishEntity.setLiveTag(liveTag);
        oLiveShopApplyAddressPunishEntity.setLiveTotallDuration(liveTotallDuration);
        oLiveShopApplyAddressPunishEntity.setLiveTotallPushLength(liveTotallPushLength);
        oLiveShopApplyAddressPunishEntity.setLiveUrl(liveUrl);
        oLiveShopApplyAddressPunishEntity.setLiveUserPush(liveUserPush);
        oLiveShopApplyAddressPunishEntity.setLiveValuation(liveValuation);
        oLiveShopApplyAddressPunishEntity.setLiveWillSave(liveWillSave);
        oLiveShopApplyAddressPunishEntity.setMaxOnlineUserCount(maxOnlineUserCount);
        oLiveShopApplyAddressPunishEntity.setMerchantName(merchantName);
        oLiveShopApplyAddressPunishEntity.setPunishId(punishId);
        oLiveShopApplyAddressPunishEntity.setPunishQuantity(punishQuantity);
        oLiveShopApplyAddressPunishEntity.setPunishTimeEnd(punishTimeEnd);
        oLiveShopApplyAddressPunishEntity.setPunishTimeStart(punishTimeStart);
        oLiveShopApplyAddressPunishEntity.setPunishType(punishType);
        oLiveShopApplyAddressPunishEntity.setPunishUnit(punishUnit);
        oLiveShopApplyAddressPunishEntity.setPushAuth(pushAuth);
        oLiveShopApplyAddressPunishEntity.setPushEndServerTime(pushEndServerTime);
        oLiveShopApplyAddressPunishEntity.setPushEndTime(pushEndTime);
        oLiveShopApplyAddressPunishEntity.setPushStartServerTime(pushStartServerTime);
        oLiveShopApplyAddressPunishEntity.setPushStartTime(pushStartTime);
        oLiveShopApplyAddressPunishEntity.setPushUrl(pushUrl);
        oLiveShopApplyAddressPunishEntity.setShopId(shopId);
        oLiveShopApplyAddressPunishEntity.setShopName(shopName);
        oLiveShopApplyAddressPunishEntity.setShopUserId(shopUserId);
        oLiveShopApplyAddressPunishEntity.setShopUserName(shopUserName);
        oLiveShopApplyAddressPunishEntity.setUpdateTime(updateTime);
        oLiveShopApplyAddressPunishEntity.setViolationId(violationId);
        oLiveShopApplyAddressPunishEntity.setViolationReson(violationReson);
        oLiveShopApplyAddressPunishEntity.setWatchDuration(watchDuration);
        oLiveShopApplyAddressPunishEntity.setWatchNumber(watchNumber);
        oLiveShopApplyAddressPunishEntity.setWatchStreamLength(watchStreamLength);
        oLiveShopApplyAddressPunishEntity.setWatchUserCount(watchUserCount);
        oLiveShopApplyAddressPunishEntity.setWatchUserPayRate(watchUserPayRate);
        return oLiveShopApplyAddressPunishEntity;
    }*/
}

